#include <de2D.hpp>
Inheritance diagram for Ide2DCollection:


Public Member Functions | |
| virtual const deRect & | GetRect () const=0 |
| Get the rect used for clipping objects. | |
| virtual void | SetRect (deRect &rect)=0 |
| Set the rect used for clipping objects. | |
| virtual void | SetBGColor (deARGB color)=0 |
| Set the background color for this collection. You may specify alpha (0xff = opaque). | |
| virtual deARGB | GetBGColor ()=0 |
| Get the background color for this collection. | |
| virtual void | SetEnabled (deBoolean Enable)=0 |
| virtual deBoolean | IsEnabled () const=0 |
| Get the rendering-enabled status of the collection. | |
| virtual void | GetScrollValue (deVec3d &scroll) const=0 |
| Get the X & Y scroll offsets currently being used for this collection. | |
| virtual void | SetScrollValue (const deVec3d &scroll)=0 |
| Set the X & Y scroll offsets for this collection. | |
| virtual deBoolean | AddObject (Ide2DObject *object)=0 |
| virtual deBoolean | RemoveObject (Ide2DObject *object)=0 |
| virtual deBoolean | AdjustObjectDepth (Ide2DObject *object, deFloat Depth)=0 |
| virtual deBoolean | AddSubCollection (Ide2DCollection *collection)=0 |
| virtual deBoolean | RemoveSubCollection (Ide2DCollection *collection)=0 |
| virtual deFloat | GetDepth () const=0 |
| virtual deBoolean | SetDepth (deFloat Depth)=0 |
| virtual deBoolean | Render (IdeDriver *Driver, deDouble DeltaTime, IdeRenderTexture *NullTex, IdeRender::deRenderStats *RenderStats, deBoolean DoOcclusion=(DE_FALSE))=0 |
| virtual void | DestroyAllObjects (deBoolean SubCollectionsAlso=(DE_TRUE))=0 |
Protected Member Functions | |
| virtual | ~Ide2DCollection () |
| virtual void | SetParent (Ide2DCollection *ParentCollection)=0 |
|
|
|
|
|
Add a 2D object to this collection, so it may be rendered. This method invokes object->Claim() to increment the object's reference count. Implemented in de2DCollection. |
|
|
Add a subordinate 2D collection to this one, so that its contents be rendered inside the extents of this one. This method invokes collection->Claim(). Implemented in de2DCollection. |
|
||||||||||||
|
Adjust the depth value of a 2D object. This method invokes object->SetDepth(Depth). Implemented in de2DCollection. |
|
|
Destroy all the objects, and optionally all the sub-collections, contained by this collection. All destroyed sub-collections will also destroy their own sub-collections. Implemented in de2DCollection. |
|
|
Get the background color for this collection.
Implemented in de2DCollection. |
|
|
Get the depth value used for sorting this collection into the render order. Note that the depth value is only relative to other objects and collections inside the same collection. Implemented in de2DCollection. |
|
|
Get the rect used for clipping objects.
Implemented in de2DCollection. |
|
|
Get the X & Y scroll offsets currently being used for this collection.
Implemented in de2DCollection. |
|
|
Get the rendering-enabled status of the collection.
Implemented in de2DCollection. |
|
|
Remove a 2D object from this collection. This method invokes object->Release() to decrement the object's reference count, possibly causing destruction. Implemented in de2DCollection. |
|
|
Remove a subordinate 2D collection. This method invokes collection->Release(). Implemented in de2DCollection. |
|
||||||||||||||||||||||||
|
Render all the objects and sub-collections contained by this collection. It is recommended that a user not call this explicitly, instead letting IdeRender handle this task. IdeRender::EndFrame invokes Ide2DCollection::Render for its attached 2d collection. Implemented in de2DCollection. |
|
|
Set the background color for this collection. You may specify alpha (0xff = opaque).
Implemented in de2DCollection. |
|
|
Set the depth value used for sorting this collection into the render order. Note that the depth value is only relative to other objects and collections inside the same collection. This method, unlike Ide2DObject::SetDepth, will adjust the rendering order of this collection. Implemented in de2DCollection. |
|
|
Enable or disable a collection from rendering. Can be used in windowing systems to "minimize" the collection. Implemented in de2DCollection. |
|
|
Implemented in de2DCollection. |
|
|
Set the rect used for clipping objects.
Implemented in de2DCollection. |
|
|
Set the X & Y scroll offsets for this collection.
Implemented in de2DCollection. |
1.3-rc3